mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
Fix unloading of modules. Up warning levels to 4.
This commit is contained in:
@@ -38,7 +38,7 @@ foreach (test_file ${test_files})
|
||||
get_filename_component(target ${test_file} NAME_WLE)
|
||||
|
||||
string(REPLACE "test_" "" pymodule ${target})
|
||||
pybind11_add_module(${target} THIN_LTO ${test_file})
|
||||
pybind11_add_module(${target} EXCLUDE_FROM_ALL THIN_LTO ${test_file})
|
||||
set_target_properties(${target}
|
||||
PROPERTIES
|
||||
OUTPUT_NAME ${pymodule}
|
||||
|
||||
Reference in New Issue
Block a user