14 lines
398 B
Diff
14 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
|