Avoid installation of static libraries.
This commit is contained in:
@@ -14,7 +14,9 @@ set (RTENGINESOURCEFILES colortemp.cc curves.cc dcraw.cc gauss.cc iccstore.cc
|
||||
|
||||
add_library (rtengine ${RTENGINESOURCEFILES})
|
||||
#It may be nice to store library version too
|
||||
install (TARGETS rtengine DESTINATION ${LIBDIR})
|
||||
IF (BUILD_SHARED_LIBS)
|
||||
install (TARGETS rtengine DESTINATION ${LIBDIR})
|
||||
ENDIF (BUILD_SHARED_LIBS)
|
||||
|
||||
set_target_properties (rtengine PROPERTIES COMPILE_FLAGS "${CMAKE_CXX_FLAGS} -ffast-math -funroll-loops")
|
||||
|
||||
|
@@ -8,5 +8,6 @@ ELSE (WIN32)
|
||||
set_target_properties (rtexif PROPERTIES COMPILE_FLAGS "-O3 -ffast-math -fexpensive-optimizations -fPIC")
|
||||
ENDIF (WIN32)
|
||||
|
||||
INSTALL(TARGETS rtexif DESTINATION ${LIBDIR})
|
||||
|
||||
IF (BUILD_SHARED_LIBS)
|
||||
INSTALL(TARGETS rtexif DESTINATION ${LIBDIR})
|
||||
ENDIF (BUILD_SHARED_LIBS)
|
||||
|
Reference in New Issue
Block a user