Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 618408
Collapse All | Expand All

(-)a/tests/CMakeLists.txt (-2 / +5 lines)
Lines 24-39 Link Here
24
# along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
24
# along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
25
################################################################################
25
################################################################################
26
26
27
SET(TEST_MEDIA_PATH "${openshot_SOURCE_DIR}/src/examples/")
27
28
28
################ WINDOWS ##################
29
################ WINDOWS ##################
29
# Set some compiler options for Windows
30
# Set some compiler options for Windows
30
# required for libopenshot-audio headers
31
# required for libopenshot-audio headers
31
IF (WIN32)
32
IF (WIN32)
32
	STRING(REPLACE "/" "\\\\" TEST_MEDIA_PATH "${openshot_SOURCE_DIR}/src/examples/")
33
	STRING(REPLACE "/" "\\\\" TEST_MEDIA_PATH TEST_MEDIA_PATH)
33
	add_definitions( -DIGNORE_JUCE_HYPOT=1 -DTEST_MEDIA_PATH="${TEST_MEDIA_PATH}" )
34
	add_definitions( -DIGNORE_JUCE_HYPOT=1 )
34
	SET(CMAKE_CXX_FLAGS " ${CMAKE_CXX_FLAGS} -include cmath -std=c++0x")
35
	SET(CMAKE_CXX_FLAGS " ${CMAKE_CXX_FLAGS} -include cmath -std=c++0x")
35
ENDIF(WIN32)
36
ENDIF(WIN32)
36
37
38
add_definitions( -DTEST_MEDIA_PATH="${TEST_MEDIA_PATH}" )
39
37
################### UNITTEST++ #####################
40
################### UNITTEST++ #####################
38
# Find UnitTest++ libraries (used for unit testing)
41
# Find UnitTest++ libraries (used for unit testing)
39
FIND_PACKAGE(UnitTest++ REQUIRED)
42
FIND_PACKAGE(UnitTest++ REQUIRED)

Return to bug 618408