File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ file(MAKE_DIRECTORY ${layer_directory})
3535set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${layer_directory} )
3636set (CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${layer_directory} )
3737set (CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${layer_directory} )
38+ set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${layer_directory} )
39+ set (CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG ${layer_directory} )
40+ set (CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE ${layer_directory} )
3841set (current_folder_path_prefix "./" ) # This works on windows too now with up-to-date OpenXR loaders
3942set (CMAKE_CXX_STANDARD 17)
4043
@@ -45,7 +48,8 @@ if(WIN32)
4548 add_compile_definitions (/w26812)
4649 endif ()
4750else ()
48- set (library_filename "../lib${library_name} .so" )
51+ set (library_filename "lib${library_name} .so" )
52+ set (CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
4953endif (WIN32 )
5054
5155configure_file (
You can’t perform that action at this time.
0 commit comments