Enable "make test" on cmake.

This commit is contained in:
Peter Johnson
2015-09-03 21:25:47 -07:00
parent b1783cc1db
commit 2dd9eafa4f
2 changed files with 3 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
file(GLOB SRCS *.cpp)
add_executable(testntcore ${SRCS})
add_test(testntcore testntcore)
if(MSVC)
target_link_libraries(testntcore