Verified Commit 1ee84809 authored by Francois Keith's avatar Francois Keith Committed by Justin Carpentier
Browse files

Install target in windows

parent a87a0719
......@@ -59,10 +59,8 @@ IF(UNIX OR "${CMAKE_GENERATOR_TOOLSET}" MATCHES "ClangCl")
ADD_SOURCE_GROUP(${PROJECT_NAME}_SOURCES)
# IF(UNIX)
INSTALL(TARGETS ${PROJECT_NAME}
EXPORT ${TARGETS_EXPORT_NAME}
DESTINATION lib)
# ENDIF(UNIX)
INSTALL(TARGETS ${PROJECT_NAME}
EXPORT ${TARGETS_EXPORT_NAME}
DESTINATION lib)
ENDIF(UNIX OR "${CMAKE_GENERATOR_TOOLSET}" MATCHES "ClangCl")
......@@ -41,9 +41,7 @@ MACRO(ADD_PINOCCHIO_UNIT_TEST NAME)
PKG_CONFIG_USE_DEPENDENCY(${TEST_NAME} hpp-fcl)
ENDIF(HPP_FCL_FOUND)
# IF(NOT WIN32)
TARGET_LINK_LIBRARIES(${TEST_NAME} PUBLIC ${PROJECT_NAME})
# ENDIF(NOT WIN32)
TARGET_LINK_LIBRARIES(${TEST_NAME} PUBLIC ${PROJECT_NAME})
TARGET_LINK_LIBRARIES(${TEST_NAME} PRIVATE ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})
TARGET_LINK_LIBRARIES(${TEST_NAME} PRIVATE ${Boost_FILESYSTEM_LIBRARY})
ENDMACRO(ADD_PINOCCHIO_UNIT_TEST)
......
Supports Markdown
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