OSDN Git Service

[BUILD][CMAKE] .
authorK.Ohta <whatisthis.sowhat@gmail.com>
Wed, 30 Sep 2020 16:01:30 +0000 (01:01 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Wed, 30 Sep 2020 16:01:30 +0000 (01:01 +0900)
source/build-cmake/cmake/single-build/config.cmake

index 1b37b11..96bb357 100644 (file)
@@ -15,7 +15,7 @@ cmake_host_system_information(RESULT OSARCH QUERY OS_PLATFORM)
 message("* HOST: OSNAME=" ${OSNAME} " RELEASE=" ${OSVERSION} " ARCH=" ${OSARCH} " OSARCH=" ${CMAKE_LIBRARY_ARCHITECTURE})
 
 set(NEED_REPLACE_LIBDIR OFF)
-#if((UNIX) AND (NOT DEFINED LIBCSP_INSTALL_DIR)) 
+if((UNIX) AND (NOT DEFINED LIBCSP_INSTALL_DIR)) 
        # Modify LIBDIR if supports MULTI-ARCH.
        # ToDo: Another OSs i.e)Fedora
        if(EXISTS "/etc/lsb-release")
@@ -32,7 +32,7 @@ set(NEED_REPLACE_LIBDIR OFF)
 #              # Will not use.
 #              set(NEED_REPLACE_LIBDIR ON)
        endif()
-#endif()
+endif()
 if(NEED_REPLACE_LIBDIR)
        set(LIBCSP_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib/${CMAKE_LIBRARY_ARCHITECTURE}")
        message("* CHANGE LIB_CSP_INSTALL_DIR TO " ${LIBCSP_INSTALL_DIR})