d6655e2dec
Closes: #10658 [via git-merge-pr]
13 lines
398 B
Diff
13 lines
398 B
Diff
--- src/private/protocolgen/CMakeLists.txt 2018-01-09 20:34:31.345972552 +0100
|
|
+++ src/private/protocolgen/CMakeLists.txt 2018-01-09 20:45:14.393984830 +0100
|
|
@@ -1,5 +1,10 @@
|
|
project(protocolgen)
|
|
|
|
+IF(CMAKE_CROSSCOMPILING)
|
|
+ SET(CMAKE_CXX_COMPILER $ENV{CXX_host})
|
|
+ SET(CMAKE_CXX_FLAGS $ENV{XBPS_CXXFLAGS})
|
|
+ENDIF(CMAKE_CROSSCOMPILING)
|
|
+
|
|
set(protocolgen_SRCS
|
|
main.cpp
|
|
cppgenerator.cpp
|