1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-18 20:34:39 +01:00

Disable libxrme install targets on Mac.

This commit is contained in:
John Maguire 2011-03-04 11:54:08 +00:00
parent 6cc12ed964
commit d357a1cb6e

View File

@ -32,20 +32,22 @@ target_link_libraries(xrme
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
# Install library if(NOT APPLE)
install(TARGETS xrme # Install library
RUNTIME DESTINATION bin install(TARGETS xrme
LIBRARY DESTINATION lib RUNTIME DESTINATION bin
ARCHIVE DESTINATION lib LIBRARY DESTINATION lib
) ARCHIVE DESTINATION lib
)
# Install public headers # Install public headers
install(FILES ${PUBLIC_HEADERS} install(FILES ${PUBLIC_HEADERS}
DESTINATION include/xrme/ DESTINATION include/xrme/
) )
# Also install public headers into the cmake binary dir so packages can use # Also install public headers into the cmake binary dir so packages can use
# libxrme in their source tree by doing include_directories(${CMAKE_BINARY_DIR}) # libxrme in their source tree by doing include_directories(${CMAKE_BINARY_DIR})
foreach(header ${PUBLIC_HEADERS}) foreach(header ${PUBLIC_HEADERS})
configure_file(${header} ${CMAKE_BINARY_DIR}/xrme/${header} COPYONLY) configure_file(${header} ${CMAKE_BINARY_DIR}/xrme/${header} COPYONLY)
endforeach(header) endforeach(header)
endif(NOT APPLE)