]> www.ginac.de Git - cln.git/blobdiff - CMakeLists.txt
INSTALL.CMake: proper installation command
[cln.git] / CMakeLists.txt
index c89ae1c9cbb7d69ac0d09e37b280f7a307760860..d2c176f2bd269b46fc1c2e5fcf0b24881afcb654 100644 (file)
@@ -32,7 +32,7 @@ set(cl_config_files
        include/cln/config.h
        include/cln/host_cpu.h
        include/cln/intparam.h
-       src/cl_config.h
+       autoconf/cl_config.h
        src/base/cl_base_config.h
        src/base/cl_gmpconfig.h
        src/timing/cl_t_config.h
@@ -135,9 +135,15 @@ set(CMAKE_REQUIRED_LIBRARIES ${_save_required_libraries})
 
 test_big_endian(cl_cv_bigendian_p)
 if(cl_cv_bigendian_p)
-       set(cln_cpu_big_endian 1)
+       set(short_big_endian 1 CACHE INTERNAL "CPU is big endian")
+       set(int_big_endian 1 CACHE INTERNAL "CPU is big endian")
+       set(long_big_endian 1 CACHE INTERNAL "CPU is big endian")
+       set(long_long_big_endian 1 CACHE INTERNAL "CPU is big endian")
 else()
-       set(cln_cpu_big_endian 0)
+       set(short_little_endian 1 CACHE INTERNAL "CPU is little endian")
+       set(int_little_endian 1 CACHE INTERNAL "CPU is little endian")
+       set(long_little_endian 1 CACHE INTERNAL "CPU is little endian")
+       set(long_long_little_endian 1 CACHE INTERNAL "CPU is little endian")
 endif()
 
 include(AsmUnderscore)