mirror of https://github.com/mgba-emu/mgba.git
CMake: Fix compile flags for docgen
This commit is contained in:
parent
a824989e5a
commit
916fa1dba0
|
@ -1014,6 +1014,7 @@ endif()
|
||||||
if(ENABLE_SCRIPTING AND BUILD_DOCGEN)
|
if(ENABLE_SCRIPTING AND BUILD_DOCGEN)
|
||||||
add_executable(docgen ${CMAKE_CURRENT_SOURCE_DIR}/src/tools/docgen.c)
|
add_executable(docgen ${CMAKE_CURRENT_SOURCE_DIR}/src/tools/docgen.c)
|
||||||
target_link_libraries(docgen ${OS_LIB} ${PLATFORM_LIBRARY} ${BINARY_NAME})
|
target_link_libraries(docgen ${OS_LIB} ${PLATFORM_LIBRARY} ${BINARY_NAME})
|
||||||
|
set_target_properties(docgen PROPERTIES COMPILE_DEFINITIONS "${OS_DEFINES};${FUNCTION_DEFINES};${FEATURE_DEFINES}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(BUILD_MAINTAINER_TOOLS)
|
if(BUILD_MAINTAINER_TOOLS)
|
||||||
|
|
Loading…
Reference in New Issue