Commit 807692cc authored by Thomas Ives's avatar Thomas Ives
Browse files

CMakeLists.txt: Remove debug message

This message is not useful to the user as they already know which
compiler was selected from the first line.  For example,

    -- The CXX compiler identification is GNU 12.2.1
parent 68985823
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -33,7 +33,6 @@ add_executable(TangoAccessControl ${SOURCES} ${ADDITIONAL_SOURCES})
target_link_libraries(TangoAccessControl ${TANGO_PKG_LIBRARIES} ${MYSQL_LIBRARIES})
target_compile_options(TangoAccessControl PUBLIC ${TANGO_PKG_CFLAGS_OTHER} -Wall -Wextra -D_FORTIFY_SOURCE=2 -O1)

message("Compiler: ${CMAKE_CXX_COMPILER_ID}")
if(NOT (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang"))
    target_compile_options(TangoAccessControl PUBLIC -fpie)
    set_target_properties(TangoAccessControl PROPERTIES LINK_FLAGS "-Wl,-z,now,-pie")