Skip to content
Snippets Groups Projects
Commit c3f1cd80 authored by Dominik Thoennes's avatar Dominik Thoennes
Browse files

CMake might not be able to determine linker language when suffix is in variable

parent 8688c4d7
No related branches found
No related tags found
No related merge requests found
Pipeline #37922 failed
......@@ -83,6 +83,8 @@ function( waLBerla_generate_target_from_python )
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${codegenCfg}")
add_library(${PYGEN_NAME} ${generatedWithAbsolutePath})
# cmake might not be able to determine linker language since file extension is "hidden" in variable
set_target_properties(${PYGEN_NAME} PROPERTIES LINKER_LANGUAGE CXX)
target_include_directories(${PYGEN_NAME} PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/${codegenCfg})
endfunction()
#######################################################################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment