Skip to content
Snippets Groups Projects
Commit 6e4094a6 authored by Martin Beseda's avatar Martin Beseda
Browse files

FIX: Fixed compilation

parent fb7d8730
No related branches found
No related tags found
No related merge requests found
...@@ -74,7 +74,8 @@ else () ...@@ -74,7 +74,8 @@ else ()
message ("Not Windows") message ("Not Windows")
endif () endif ()
find_package(Boost COMPONENTS unit_test_framework REQUIRED) #find_package(Boost COMPONENTS unit_test_framework REQUIRED)
IF (Boost_FOUND) IF (Boost_FOUND)
message("Boost DIR: " ${Boost_INCLUDE_DIR})
include_directories(${Boost_INCLUDE_DIR}) include_directories(${Boost_INCLUDE_DIR})
endif() endif()
\ No newline at end of file
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
* @author David Vojtek * @author David Vojtek
* @date 2018 * @date 2018
*/ */
#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MODULE neuronLinear_test
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>
#include "../Neuron/NeuronLinear.h" #include "../Neuron/NeuronLinear.h"
......
...@@ -5,9 +5,6 @@ ...@@ -5,9 +5,6 @@
* @date 2018 * @date 2018
*/ */
#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MODULE neuron_test
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>
#include "../Neuron/Neuron.h" #include "../Neuron/Neuron.h"
#include "../Neuron/NeuronLinear.h" #include "../Neuron/NeuronLinear.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment