Merge branch 'check-right-cxx-variable' into 'master'
Check right cxx variable See merge request libtiff/libtiff!19
This commit is contained in:
commit
781bdb7263
@ -138,7 +138,7 @@ install(TARGETS tiff
|
|||||||
install(FILES ${tiff_HEADERS} ${nodist_tiff_HEADERS}
|
install(FILES ${tiff_HEADERS} ${nodist_tiff_HEADERS}
|
||||||
DESTINATION "${CMAKE_INSTALL_FULL_INCLUDEDIR}")
|
DESTINATION "${CMAKE_INSTALL_FULL_INCLUDEDIR}")
|
||||||
|
|
||||||
if(cxx)
|
if(CXX_SUPPORT)
|
||||||
add_library(tiffxx ${tiffxx_SOURCES} ${tiffxx_HEADERS})
|
add_library(tiffxx ${tiffxx_SOURCES} ${tiffxx_HEADERS})
|
||||||
target_link_libraries(tiffxx tiff)
|
target_link_libraries(tiffxx tiff)
|
||||||
set_target_properties(tiffxx PROPERTIES SOVERSION ${SO_COMPATVERSION})
|
set_target_properties(tiffxx PROPERTIES SOVERSION ${SO_COMPATVERSION})
|
||||||
|
Loading…
Reference in New Issue
Block a user