Cross compiling is hell.
This commit is contained in:
parent
b053947bfa
commit
4fc60b06aa
2 changed files with 2 additions and 2 deletions
|
@ -363,7 +363,7 @@ else()
|
|||
try_run(RUNA RUNB ${BINARY_DIR}/CMakeTmp ${SOURCE_DIR}/src/sourcery.cpp )
|
||||
endif()
|
||||
|
||||
if("${RUNA}" EQUAL "2")
|
||||
if("${RUNA}" EQUAL "42")
|
||||
message("Not cross compiling - building sourcery")
|
||||
add_executable(sourcery
|
||||
src/sourcery.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue