Skip to content

[build][fix] Fix install step

Julia Sanchez requested to merge fix/FixInstallation into master
  • Add installation of dll on windows
  • Add cmake config files
  • Fix headers install
  • Minor cmake file refactoring

Test was performed using:

Test.cpp

#include <iostream>
#include <LidarSlam/Slam.h>

int main(int argc, char *argv[])
{
  return 0;
}

and CMakeLists.txt

cmake_minimum_required(VERSION 3.0.0)

project(test)

find_package(LidarSlam REQUIRED)

if(LidarSlam_FOUND)
  message("LidarSlam found")
else()
  message("LidarSlam not found")
endif()

add_executable(exe test.cpp)
target_link_libraries(exe
  PUBLIC
    LidarSlam::LidarSlam
) 
Edited by Julia Sanchez

Merge request reports