Error fut_keychange while compiling with DCHAMELEON_SIMULATION=ON
I have SimGrid 3.26 installed but I get the following error when using -DCHAMELEON_SIMULATION=ON :
-- FindSIMGRID needs pkg-config program and PKG_CONFIG_PATH set with simgrid.pc file path. -- Checking for one of the modules 'simgrid' -- Looking for SIMGRID - found using PkgConfig -- Looking for MSG_main -- Looking for MSG_main - not found -- Looking for simgrid : test of fut_keychange with simgrid library fails -- CMAKE_REQUIRED_LIBRARIES: -L/usr/local/lib;/usr/local/lib/libsimgrid.so -- CMAKE_REQUIRED_INCLUDES: /usr/local/include -- CMAKE_REQUIRED_FLAGS: -- Check in CMakeFiles/CMakeError.log to figure out why it fails CMake Error at /usr/local/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find SIMGRID (missing: SIMGRID_WORKS) Call Stack (most recent call first): /usr/local/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) cmake_modules/morse_cmake/modules/find/FindSIMGRID.cmake:144 (find_package_handle_standard_args) CMakeLists.txt:603 (find_package)
When I only use cmake I don't get any error.