build_environment: force a consistent libdir across Linux distributions.
authorRay Molenkamp <github@lazydodo.com>
Mon, 17 Sep 2018 14:13:08 +0000 (08:13 -0600)
committerRay Molenkamp <github@lazydodo.com>
Mon, 17 Sep 2018 14:13:08 +0000 (08:13 -0600)
on some distributions libs ended up in lib64 confusing the cmake builder.

build_files/build_environment/cmake/options.cmake

index 7bf971208ae5ab16794325f8d51b7dc43fe4a83d..f3125551972b822ca214c784a2528da47cac9586 100644 (file)
@@ -143,7 +143,7 @@ else()
                set(PLATFORM_CXXFLAGS "-std=c++11 -fPIC")
                set(PLATFORM_LDFLAGS)
                set(PLATFORM_BUILD_TARGET)
-               set(PLATFORM_CMAKE_FLAGS)
+               set(PLATFORM_CMAKE_FLAGS -DCMAKE_INSTALL_LIBDIR=lib)
        endif()
 
        if(WITH_OPTIMIZED_DEBUG)