Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 48c6b735 authored by cfouard's avatar cfouard
Browse files

Removed red messages

Rmoved -fpic for msvc


git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@618 ec899d31-69d1-42ba-9299-647d76f65fb3
parent d63be4de
......@@ -756,7 +756,8 @@ macro(camitk_tool)
include(TestCXXAcceptsFlag)
check_cxx_accepts_flag(-fPIC FPIC_FLAG_ACCEPTED)
# no need to add -fPIC on mingw, otherwise it generates a warning: -fPIC ignored for target (all code is position independent) [enabled by default]
if(FPIC_FLAG_ACCEPTED AND NOT MINGW)
# msvc is also accepting the flag, but then produce warning D9002 : ignoring unknown option '-fPIC' cl
if(FPIC_FLAG_ACCEPTED AND NOT WIN32)
set_property(TARGET ${LIBRARY_NAME} APPEND PROPERTY COMPILE_FLAGS -fPIC)
endif()
......
......@@ -58,7 +58,7 @@ else()
# camitk is not installed yet, use build dir for include and libs
set(CAMITK_BUILD_ROOT ${CMAKE_CURRENT_BINARY_DIR}/..)
# This is a multi CEP, CAMITK_INSTALL_ROOT should be set
message("Find CamiTK inside multi CEP: ${CAMITK_INSTALL_ROOT}")
message(STATUS "Find CamiTK inside multi CEP: ${CAMITK_INSTALL_ROOT}")
endif() # CAMITK_MULTI_CEP
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment