Skip to content
Snippets Groups Projects
Commit 11f15805 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

fix cmake variable name

parent 0bbe5b44
No related branches found
No related tags found
2 merge requests!12Improve versatility and robustness of `cpptype`, and document it in the user guide,!8Add CONFIG_MODULE parameter to CMake function. Add Tests for CMake Integration.
Pipeline #71502 failed
...@@ -54,7 +54,7 @@ function(pystencilssfg_generate_target_sources TARGET) ...@@ -54,7 +54,7 @@ function(pystencilssfg_generate_target_sources TARGET)
endif() endif()
if(DEFINED _pssfg_CONFIG_MODULE) if(DEFINED _pssfg_CONFIG_MODULE)
cmake_path(ABSOLUTE_PATH PystencilsSfg_CONFIG_MODULE OUTPUT_VARIABLE config_module) cmake_path(ABSOLUTE_PATH _pssfg_CONFIG_MODULE OUTPUT_VARIABLE config_module)
list(APPEND generatorArgs "--sfg-config-module=${config_module}") list(APPEND generatorArgs "--sfg-config-module=${config_module}")
list(APPEND _pssfg_DEPENDS ${config_module}) list(APPEND _pssfg_DEPENDS ${config_module})
else() else()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment