Added library dir to unittests
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@410 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -16,6 +16,8 @@ if(GTEST_FOUND)
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user