Commit e696121f authored by Jan Möbius's avatar Jan Möbius

Fixed unittests



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@411 fdac6126-5c0c-442c-9429-916003d36597
parent 6299e02c
......@@ -12,12 +12,12 @@ if(GTEST_FOUND)
# Set correct include paths so that the compiler can find the headers
include_directories(${GTEST_INCLUDE_DIRS})
# set additional link directories
link_directories(${GTEST_LIBRARY_DIR} )
# Create new target named unittests_hexmeshing
add_executable(unittests EXCLUDE_FROM_ALL unittests.cc)
# Link against all necessary libraries
target_link_libraries(unittests OpenMeshCore OpenMeshTools gtest gtest_main pthread)
# set additional link directories
link_directories(${GTEST_LIBRARY_DIR} )
# Set output directory to ${BINARY_DIR}/Unittests
set_target_properties(unittests PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Unittests)
# Set compiler flags
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment