Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ PROJECT( ${PROJ} LANGUAGES CXX )
INCLUDE( cmake/macros.cmake )

# Enable testing
IF ( NOT DISABLE_TESTS )
ENABLE_TESTING()
INCLUDE( CTest )
ENDIF()
INCLUDE( CTest )

# Create a release target
INCLUDE( cmake/WriteRepoVersion.cmake )
Expand Down Expand Up @@ -185,7 +182,7 @@ INSTALL( FILES "${CMAKE_CURRENT_BINARY_DIR}/cmake/StackTraceConfig.cmake" "${CMA
DESTINATION ${${PROJ}_INSTALL_DIR}/lib/cmake/StackTrace )

# Add the tests
IF ( NOT DISABLE_TESTS )
IF ( BUILD_TESTING )
ADD_EXE( TestStack TestStack.cpp )
ADD_EXE( TestTerminate TestTerminate.cpp )
ADD_EXE( TestUtilities TestUtilities.cpp )
Expand Down