Skip to content
Snippets Groups Projects
Commit c50b7400 authored by Benjamin Morgan's avatar Benjamin Morgan
Browse files

Use correct target name for static build

parent a0c8bfae
No related branches found
No related tags found
No related merge requests found
......@@ -263,7 +263,7 @@ macro(geant4_library_target)
set_property(GLOBAL APPEND PROPERTY ALL_LIBS_OBJ_STATIC "$<TARGET_OBJECTS:${G4LIBTARGET_NAME}-static>")
add_library(${G4LIBTARGET_NAME}-static OBJECT ${G4LIBTARGET_SOURCES})
geant4_compile_definitions_config(${G4LIBTARGET_NAME})
geant4_compile_definitions_config(${G4LIBTARGET_NAME}-static)
target_compile_features(${G4LIBTARGET_NAME}-static PUBLIC ${GEANT4_TARGET_COMPILE_FEATURES})
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment