Skip to content

Commit

Permalink
Fixed possible bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Pedersen committed Oct 23, 2014
1 parent 9f214ff commit bbd2b1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS} -g -DDEBUG -Wall")

# -fPIC is for compiling on 64bit
if( CMAKE_SIZEOF_VOID_P EQUAL 8 )
set(CMAKE_C_FLAGS "-fPIC" ${CMAKE_C_FLAGS})
set(CMAKE_C_FLAGS_DEBUG "-fPIC" ${CMAKE_C_FLAGS_DEBUG})
set(CMAKE_C_FLAGS "-fPIC ${CMAKE_C_FLAGS}")
set(CMAKE_C_FLAGS_DEBUG "-fPIC ${CMAKE_C_FLAGS_DEBUG}")
endif( CMAKE_SIZEOF_VOID_P EQUAL 8 )

set(CTEST_MEMORYCHECK_COMMAND "/usr/bin/valgrind")
Expand Down

0 comments on commit bbd2b1f

Please sign in to comment.