commit b4c6e6420974e532ebb487464b06a97d83c5a3ae
parent cd4761e94484bbbd67a806a5e5c5a7f9eca035d9
Author: fundamental <[email protected]>
Date: Mon, 3 May 2010 12:03:01 -0400
CMake: Fixing Regression
Tests now only compile when they are told to
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
@@ -141,7 +141,7 @@ include_directories(
add_definitions(-DSOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}")
#macro for tests
macro(unit_test NAME CXX_FILE FILES)
- # if (CompileTests)
+ if (CompileTests)
set(PATH_FILES "")
foreach(part ${FILES})
set(PATH_FILES "${CMAKE_CURRENT_SOURCE_DIR}/${part}" ${PATH_FILES})
@@ -162,7 +162,7 @@ macro(unit_test NAME CXX_FILE FILES)
${MXML_LIBRARIES}
)
add_test("${NAME}" "${EXECUTABLE_OUTPUT_PATH}/${NAME}")
- #endif()
+ endif()
endmacro(unit_test)
set(NONGUI_LIBRARIES