Merge pull request #1136 from Elv13/fix_missing_rclua
build: Fix make install when ldoc is missing
This commit is contained in:
commit
5b9ad22447
|
@ -106,6 +106,9 @@ set(AWESOME_C_FLAGS
|
||||||
mark_as_advanced(AWESOME_C_FLAGS)
|
mark_as_advanced(AWESOME_C_FLAGS)
|
||||||
target_compile_options(${PROJECT_AWE_NAME} PRIVATE ${AWESOME_C_FLAGS})
|
target_compile_options(${PROJECT_AWE_NAME} PRIVATE ${AWESOME_C_FLAGS})
|
||||||
|
|
||||||
|
# Make sure awesomerc.lua is generated
|
||||||
|
add_dependencies(${PROJECT_AWE_NAME} generate_awesomerc)
|
||||||
|
|
||||||
# Linux w/ GCC requires -rdynamic to get backtrace to fully work.
|
# Linux w/ GCC requires -rdynamic to get backtrace to fully work.
|
||||||
#
|
#
|
||||||
# For "historical reasons", CMake adds the option to the linker flags
|
# For "historical reasons", CMake adds the option to the linker flags
|
||||||
|
|
|
@ -351,6 +351,10 @@ add_custom_command(
|
||||||
${BUILD_DIR}/awesomerc.lua
|
${BUILD_DIR}/awesomerc.lua
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Create a target for the auto-generated awesomerc.lua
|
||||||
|
add_custom_target(generate_awesomerc DEPENDS ${BUILD_DIR}/awesomerc.lua)
|
||||||
|
|
||||||
|
|
||||||
#}}}
|
#}}}
|
||||||
|
|
||||||
# {{{ Copy additional files
|
# {{{ Copy additional files
|
||||||
|
|
Loading…
Reference in New Issue