Sisyphus repository
Last update: 2018-10-20 23:10:32 +0400 | SRPMs: 19800 | Sign in or Sign up
en ru uk br
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- openexr-2.1.0/CMakeLists.txt~	2013-12-12 18:05:48.000000000 +0400
+++ openexr-2.1.0/CMakeLists.txt	2013-12-12 18:11:47.424000000 +0400
@@ -44,8 +44,8 @@ IF (NOT WIN32)
   SET ( PTHREAD_LIB pthread )
 ENDIF()
 
-INCLUDE_DIRECTORIES ( ${ILMBASE_PACKAGE_PREFIX}/include/OpenEXR )
-LINK_DIRECTORIES ( ${ILMBASE_PACKAGE_PREFIX}/lib )
+INCLUDE_DIRECTORIES ( ${INCLUDE_INSTALL_DIR}/OpenEXR )
+LINK_DIRECTORIES ( ${LIB_INSTALL_DIR} )
 MESSAGE ( "ILMBASE_PACKAGE_PREFIX = " ${ILMBASE_PACKAGE_PREFIX})
 
 SET (LIB_TYPE STATIC)
--- openexr-2.2.0/IlmImfUtil/CMakeLists.txt~	2014-12-02 15:58:33.000000000 +0300
+++ openexr-2.2.0/IlmImfUtil/CMakeLists.txt	2014-12-02 16:07:09.760000000 +0300
@@ -41,7 +41,7 @@ TARGET_LINK_LIBRARIES ( IlmImfUtil
 INSTALL ( TARGETS
   IlmImfUtil
   DESTINATION
-  ${CMAKE_INSTALL_PREFIX}/lib
+  ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}
 )
 
 # Headers
 
© 2009–2018 Igor Zubkov