mirror of
https://github.com/simon987/wavelib.git
synced 2025-04-10 14:06:46 +00:00
some changes for cmake
This commit is contained in:
parent
aad90aebfc
commit
cf869ef0c4
@ -35,10 +35,10 @@ include_directories(${PROJECT_WIDE_INCLUDE})
|
||||
|
||||
# TODO: need to handle this with option
|
||||
set(Boost_USE_MULTITHREADED ON)
|
||||
set(Boost_USE_STATIC_LIBS ON)
|
||||
# set(Boost_USE_STATIC_LIBS ON)
|
||||
set(Boost_USE_STATIC_RUNTIME OFF)
|
||||
|
||||
find_package(Boost COMPONENTS unit_test_framework REQUIRED)
|
||||
find_package(Boost 1.40 COMPONENTS unit_test_framework REQUIRED)
|
||||
|
||||
# disable autolinking feature
|
||||
add_definitions(-DBOOST_ALL_NO_LIB)
|
||||
|
@ -8,8 +8,6 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
#include "wavelib.h"
|
||||
|
||||
#include<vector>
|
||||
|
Loading…
x
Reference in New Issue
Block a user