Skip to content

Commit ba87d27

Browse files
committed
Minor code review
1 parent 932b413 commit ba87d27

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

CMakeLists.txt

+6-4
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,10 @@ elseif(NOT (DEFINED DXMATH_ARCHITECTURE))
110110
endif()
111111

112112
#--- Test suite
113-
include(CTest)
114-
if(BUILD_TESTING AND WIN32 AND (NOT WINDOWS_STORE) AND (EXISTS "${CMAKE_CURRENT_LIST_DIR}/Tests/CMakeLists.txt"))
115-
enable_testing()
116-
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/Tests)
113+
if(NOT WINDOWS_STORE)
114+
include(CTest)
115+
if(BUILD_TESTING AND WIN32 AND (NOT WINDOWS_STORE) AND (EXISTS "${CMAKE_CURRENT_LIST_DIR}/Tests/CMakeLists.txt"))
116+
enable_testing()
117+
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/Tests)
118+
endif()
117119
endif()

0 commit comments

Comments
 (0)