- Miscellaneous CMakeLists.txt fixes.

- fixed a CMake warning about uninitialized use of the variable CROSS_EXPORTS in the tools subfolder when CMAKE_CROSSCOMPILING is off;
- fixed a variable typo: CMAKE_CURRENTY_BINARY_DIR instead of CMAKE_CURRENT_BINARY_DIR;
- in src/CMakeLists.txt, fixed a missing merge of a portion of code from maint branch to master.
This commit is contained in:
Edoardo Prezioso 2014-07-01 19:13:05 +02:00
parent d0e551060d
commit d83f048858
3 changed files with 11 additions and 4 deletions

View file

@ -227,6 +227,12 @@ endif( GME_FOUND AND NOT FORCE_INTERNAL_GME )
set( LZMA_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/lzma/C" )
if( NOT CMAKE_CROSSCOMPILING )
if( NOT CROSS_EXPORTS )
set( CROSS_EXPORTS "" )
endif( NOT CROSS_EXPORTS )
endif( NOT CMAKE_CROSSCOMPILING )
add_subdirectory( lzma )
add_subdirectory( tools )
add_subdirectory( dumb )

View file

@ -34,7 +34,7 @@ if( NOT MSVC AND NOT APPLE )
DEPENDS qnan )
set( GEN_FP_FILES arith.h gd_qnan.h )
set( GEN_FP_DEPS ${CMAKE_CURRENT_BINARY_DIR}/arith.h ${CMAKE_CURRENTY_BINARY_DIR}/gd_qnan.h )
set( GEN_FP_DEPS ${CMAKE_CURRENT_BINARY_DIR}/arith.h ${CMAKE_CURRENT_BINARY_DIR}/gd_qnan.h )
endif( NOT MSVC AND NOT APPLE )
add_library( gdtoa

View file

@ -595,12 +595,13 @@ else( WIN32 )
endif( APPLE )
endif( WIN32 )
if( NOT ASM_SOURCES )
set( ASM_SOURCES "" )
endif( NOT ASM_SOURCES )
if( NO_ASM )
add_definitions( -DNOASM )
else( NO_ASM )
if( NOT ASM_SOURCES )
set( ASM_SOURCES "" )
endif( NOT ASM_SOURCES )
if( X64 )
ADD_ASM_FILE( asm_x86_64 tmap3 )
else( X64 )