
project() call should always come AFTER cmake_minimum_required(). This caused various hard-to-debug issues when searching for packages. Newer CMake versions complain that compatibility is broken with v2.6
14 lines
241 B
CMake
14 lines
241 B
CMake
cmake_minimum_required(VERSION 2.8.12)
|
|
project(admesh)
|
|
|
|
add_library(admesh STATIC
|
|
connect.cpp
|
|
normals.cpp
|
|
shared.cpp
|
|
stl.h
|
|
stl_io.cpp
|
|
stlinit.cpp
|
|
util.cpp
|
|
)
|
|
|
|
target_link_libraries(admesh PRIVATE boost_headeronly)
|