Skip to content

Commit 8ecfeb6

Browse files
authored
CMake code review (#235)
1 parent 0dcbe70 commit 8ecfeb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ elseif(NOT (DEFINED DXMATH_ARCHITECTURE))
114114
endif()
115115

116116
#--- Test suite
117-
if(NOT WINDOWS_STORE)
117+
if((NOT WINDOWS_STORE) AND (NOT (DEFINED XBOX_CONSOLE_TARGET)))
118118
include(CTest)
119-
if(BUILD_TESTING AND WIN32 AND (NOT WINDOWS_STORE) AND (EXISTS "${CMAKE_CURRENT_LIST_DIR}/Tests/CMakeLists.txt"))
119+
if(BUILD_TESTING AND (EXISTS "${CMAKE_CURRENT_LIST_DIR}/Tests/CMakeLists.txt"))
120120
enable_testing()
121121
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/Tests)
122122
endif()

0 commit comments

Comments
 (0)