Fix: Wrap MacroCodeGenIdl include in RELEASE_BUILD conditional
- Main CMakeLists.txt line 783 includes MacroCodeGenIdl.cmake unconditionally - This causes ngl_codegen target reference even when CodeGen module is excluded - Wrap INCLUDE(MacroCodeGenIdl) in IF(NOT RELEASE_BUILD) to skip for release builds - Prevents 'make: *** No rule to make target ngl_codegen' error in release scope builds Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 file changed
+4
-1
@@ -780,7 +780,10 @@ ENDIF()
|
|||||||
# Ein paar NGL-spezifische Macros
|
# Ein paar NGL-spezifische Macros
|
||||||
#
|
#
|
||||||
INCLUDE(NGLMacros)
|
INCLUDE(NGLMacros)
|
||||||
INCLUDE(MacroCodeGenIdl)
|
# Skip MacroCodeGenIdl for release builds as CodeGen module is excluded
|
||||||
|
IF(NOT RELEASE_BUILD)
|
||||||
|
INCLUDE(MacroCodeGenIdl)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
#
|
#
|
||||||
# Projektspezifische Einstellungen?
|
# Projektspezifische Einstellungen?
|
||||||
|
|||||||
Reference in new issue
Block a user