Commit 5fedea01 authored by Dorian Guillois's avatar Dorian Guillois
Browse files

Fix build script.

parent 2e6f3e87
......@@ -103,7 +103,7 @@ execute_process(COMMAND "${PERL_EXECUTABLE}" "-MExtUtils::Embed" "-e" "ccopts"
RESULT_VARIABLE PERL_CFLAGS_ERROR
OUTPUT_VARIABLE PERL_CFLAGS)
if (NOT PERL_CFLAGS_ERROR)
set(CMAKE_CXX_FLAGS "${PERL_CFLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${PERL_CFLAGS}")
endif ()
# Generate code to dynamically load modules.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment