diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 13ff8a59..a67ed2a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -270,5 +270,9 @@ set (GAWK_SOURCES ${GAWK_SOURCES} add_executable (gawk ${GAWK_SOURCES}) target_link_libraries (gawk m ${EXTRA_LIBS}) -add_subdirectory(test) -add_subdirectory(doc) +if(${CMAKE_CROSSCOMPILING} STREQUAL "TRUE") +else() + add_subdirectory(test) + add_subdirectory(doc) +endif() + |