mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Define REF_DLL
This commit is contained in:
parent
f10ddcaa17
commit
b1a02389f6
2 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,7 @@ get_target_property(target_type omohrenderergl1 TYPE)
|
||||||
if (target_type STREQUAL "SHARED_LIBRARY")
|
if (target_type STREQUAL "SHARED_LIBRARY")
|
||||||
target_sources(omohrenderergl1 PRIVATE "./tr_subs.c")
|
target_sources(omohrenderergl1 PRIVATE "./tr_subs.c")
|
||||||
target_compile_definitions(omohrenderergl1 PUBLIC USE_RENDERER_DLOPEN=1)
|
target_compile_definitions(omohrenderergl1 PUBLIC USE_RENDERER_DLOPEN=1)
|
||||||
|
target_compile_definitions(omohrenderergl1 PRIVATE REF_DLL=1)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
set_target_properties(omohrenderergl1 PROPERTIES PREFIX "")
|
set_target_properties(omohrenderergl1 PROPERTIES PREFIX "")
|
||||||
|
|
|
@ -22,6 +22,7 @@ get_target_property(target_type omohrenderergl2 TYPE)
|
||||||
if (target_type STREQUAL "SHARED_LIBRARY")
|
if (target_type STREQUAL "SHARED_LIBRARY")
|
||||||
target_sources(omohrenderergl2 PRIVATE "./tr_subs.c")
|
target_sources(omohrenderergl2 PRIVATE "./tr_subs.c")
|
||||||
target_compile_definitions(omohrenderergl2 PUBLIC USE_RENDERER_DLOPEN=1)
|
target_compile_definitions(omohrenderergl2 PUBLIC USE_RENDERER_DLOPEN=1)
|
||||||
|
target_compile_definitions(omohrenderergl2 PRIVATE REF_DLL=1)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
set_target_properties(omohrenderergl2 PROPERTIES PREFIX "")
|
set_target_properties(omohrenderergl2 PROPERTIES PREFIX "")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue