Commit f3ca28fe authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix CMake install paths.

parent ce740458
...@@ -123,9 +123,10 @@ set_target_properties(linphone PROPERTIES VERSION 3.7.0 SOVERSION 5) ...@@ -123,9 +123,10 @@ set_target_properties(linphone PROPERTIES VERSION 3.7.0 SOVERSION 5)
target_link_libraries(linphone ${LIBS}) target_link_libraries(linphone ${LIBS})
install(TARGETS linphone install(TARGETS linphone
DESTINATION ${LIB_INSTALL_DIR} RUNTIME DESTINATION bin
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
file(GLOB HEADER_FILES "*.h") file(GLOB HEADER_FILES "*.h")
...@@ -137,7 +138,7 @@ install(FILES ${HEADER_FILES} ...@@ -137,7 +138,7 @@ install(FILES ${HEADER_FILES}
if(WIN32) if(WIN32)
if(CMAKE_BUILD_TYPE STREQUAL "Debug") if(CMAKE_BUILD_TYPE STREQUAL "Debug")
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/Debug/linphone.pdb install(FILES ${CMAKE_CURRENT_BINARY_DIR}/Debug/linphone.pdb
DESTINATION ${LIB_INSTALL_DIR} DESTINATION bin
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
) )
endif() endif()
......
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