CMakeLists.txt 645 Bytes
Newer Older
Sören Schwertfeger's avatar
Sören Schwertfeger committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
cmake_minimum_required(VERSION 3.0)

option( INSTALL_QTRANSFORMS_PLUGIN "Check to install qTransforms plugin" ON )

# CloudCompare 'Transforms' plugin
if (INSTALL_QTRANSFORMS_PLUGIN)
 
    add_subdirectory (sttl)


    project( QTRANSFORMS_PLUGIN )
    

    include( ../CMakePluginTpl.cmake )
    
    #set dependencies to necessary libraries (see qPCV for an example)
    target_link_libraries( ${PROJECT_NAME} STTL )
	#include_directories( ${STTL_INCLUDE_DIR} )

    get_target_property(sttl_includes STTL INTERFACE_INCLUDE_DIRECTORIES)
    INCLUDE_DIRECTORIES ( ${sttl_includes} )   
    MESSAGE("sttl_includes: ${sttl_includes} ")

endif()