diff --git a/ValaBinCommonRules.cmake b/ValaBinCommonRules.cmake index 5770120..2a213b3 100644 --- a/ValaBinCommonRules.cmake +++ b/ValaBinCommonRules.cmake @@ -7,7 +7,7 @@ SET (CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/run") # Avoid of "dll n VALA_PRECOMPILE (VALA_C ${BinSources} PACKAGES ${BinPackages} - OPTIONS ${BinValaOpts} --thread ${VALA_DEBUG} + OPTIONS ${BinValaOpts} ${VALA_DEBUG} CUSTOM_VAPIS ${BinCustomVapis} GENERATE_VAPI GENERATE_HEADER diff --git a/ValaLibCommonRules.cmake b/ValaLibCommonRules.cmake index 9baaa9b..b34ba2b 100644 --- a/ValaLibCommonRules.cmake +++ b/ValaLibCommonRules.cmake @@ -17,7 +17,7 @@ ENDIF (WIN32) VALA_PRECOMPILE (VALA_C ${LibSources} PACKAGES ${LibPackages} - OPTIONS --thread ${LibValaOpts} ${VALA_DEBUG} ${export_vaapi} + OPTIONS ${LibValaOpts} ${VALA_DEBUG} ${export_vaapi} CUSTOM_VAPIS ${LibCustomVapis} GENERATE_VAPI GENERATE_HEADER ${generate_header}