X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=CMakeScripts%2FConfigPaths.cmake;h=de9a9b5d0bb8e75f16692a49dbba76ebeb95cc30;hb=22899f52f2742b4e3496f87d259c1273e492b43f;hp=651df5bbff44c480237d4f1190d14542a0266671;hpb=5c6c297c967ed199fc7e21a97a3d3acfa2d7f089;p=inkscape.git diff --git a/CMakeScripts/ConfigPaths.cmake b/CMakeScripts/ConfigPaths.cmake index 651df5bbf..de9a9b5d0 100644 --- a/CMakeScripts/ConfigPaths.cmake +++ b/CMakeScripts/ConfigPaths.cmake @@ -7,14 +7,14 @@ ELSEIF(WIN32) SET(PACKAGE_LOCALE_DIR "locale") ENDIF(WIN32) -SET(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib) -SET(CMAKE_SKIP_RPATH:BOOL OFF) - -# Include base dir, so other files can refer to the generated files. -# CMAKE_INCLUDE_CURRENT_DIR is not enough as it only includes the current dir and not the basedir with config.h in it +#SET(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib) +#SET(CMAKE_SKIP_RPATH:BOOL OFF) + +# Include base dir, so other files can refer to the generated files. +# CMAKE_INCLUDE_CURRENT_DIR is not enough as it only includes the current dir and not the basedir with config.h in it #INCLUDE_DIRECTORIES ("${CMAKE_BINARY_DIR}" "${PROJECT_SOURCE_DIR}" src/) #LINK_DIRECTORIES ("${LINK_DIRECTORIES}" "${CMAKE_BINARY_DIR}" "${PROJECT_SOURCE_DIR}" src/) - + #INSTALL(TARGETS INKSCAPE # RUNTIME DESTINATION bin # LIBRARY DESTINATION lib @@ -26,6 +26,6 @@ SET(CMAKE_SKIP_RPATH:BOOL OFF) #CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/INKSCAPE.pc.in # ${CMAKE_BINARY_DIR}/INKSCAPE.pc @ONLY IMMEDIATE ) -#INSTALL(FILES "${CMAKE_BINARY_DIR}/INKSCAPE.pc" DESTINATION lib/pkgconfig) - +#INSTALL(FILES "${CMAKE_BINARY_DIR}/INKSCAPE.pc" DESTINATION lib/pkgconfig) + #SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin CACHE INTERNAL "Where to put the executables")set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib CACHE INTERNAL "Where to put the libraries")