Add NXT_GENERATED_FLAGS using set_property
This commit is contained in:
parent
2dfea9961a
commit
240343f9db
|
@ -62,7 +62,7 @@ function(Generate)
|
||||||
)
|
)
|
||||||
|
|
||||||
NXTInternalTarget("${G_FOLDER}" ${G_LIB_NAME})
|
NXTInternalTarget("${G_FOLDER}" ${G_LIB_NAME})
|
||||||
target_compile_options(${G_LIB_NAME} PRIVATE ${NXT_GENERATED_FLAGS})
|
set_property(TARGET ${G_LIB_NAME} APPEND PROPERTY COMPILE_OPTIONS ${NXT_GENERATED_FLAGS})
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
set(GENERATED_DIR ${CMAKE_CURRENT_BINARY_DIR} PARENT_SCOPE)
|
set(GENERATED_DIR ${CMAKE_CURRENT_BINARY_DIR} PARENT_SCOPE)
|
||||||
|
|
Loading…
Reference in New Issue