Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6b731ba7
authored
Mar 25, 2015
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mtapi_opencl_c, examples : fixed linker error
parent
b6c0ab95
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
doc/examples/CMakeLists.txt
+3
-2
mtapi_opencl_c/CMakeLists.txt
+2
-2
No files found.
doc/examples/CMakeLists.txt
View file @
6b731ba7
...
@@ -22,15 +22,16 @@ include_directories(
...
@@ -22,15 +22,16 @@ include_directories(
if
(
CMAKE_COMPILER_IS_GNUCXX
)
if
(
CMAKE_COMPILER_IS_GNUCXX
)
set
(
CMAKE_CXX_FLAGS
"-std=c++11"
)
set
(
CMAKE_CXX_FLAGS
"-std=c++11"
)
set
(
EXTRA_LIBS dl
)
endif
()
endif
()
IF
(
MSVC
)
IF
(
MSVC
)
set
(
NETWORK
_LIBS ws2_32
)
set
(
EXTRA
_LIBS ws2_32
)
ENDIF
()
ENDIF
()
add_executable
(
examples
${
EXAMPLES_SOURCES
}
)
add_executable
(
examples
${
EXAMPLES_SOURCES
}
)
target_link_libraries
(
examples embb_dataflow_cpp embb_algorithms_cpp embb_mtapi_cpp
target_link_libraries
(
examples embb_dataflow_cpp embb_algorithms_cpp embb_mtapi_cpp
embb_mtapi_network_c embb_mtapi_opencl_c embb_mtapi_c
embb_mtapi_network_c embb_mtapi_opencl_c embb_mtapi_c
embb_base_cpp embb_base_c embb_containers_cpp
embb_base_cpp embb_base_c embb_containers_cpp
${
NETWORK
_LIBS
}
${
compiler_libs
}
)
${
EXTRA
_LIBS
}
${
compiler_libs
}
)
CopyBin
(
BIN examples DEST
${
local_install_dir
}
)
CopyBin
(
BIN examples DEST
${
local_install_dir
}
)
mtapi_opencl_c/CMakeLists.txt
View file @
6b731ba7
...
@@ -15,7 +15,7 @@ ENDFOREACH(src_tmp)
...
@@ -15,7 +15,7 @@ ENDFOREACH(src_tmp)
ENDIF
()
ENDIF
()
IF
(
CMAKE_COMPILER_IS_GNUCC
)
IF
(
CMAKE_COMPILER_IS_GNUCC
)
set
(
EMBB_M
API_OPENCL
_LIBS dl
)
set
(
EMBB_M
TAPI_OPENCL_C
_LIBS dl
)
ENDIF
()
ENDIF
()
# Execute the GroupSources macro
# Execute the GroupSources macro
...
@@ -38,7 +38,7 @@ target_link_libraries(embb_mtapi_opencl_c embb_mtapi_c embb_base_c)
...
@@ -38,7 +38,7 @@ target_link_libraries(embb_mtapi_opencl_c embb_mtapi_c embb_base_c)
if
(
BUILD_TESTS STREQUAL ON
)
if
(
BUILD_TESTS STREQUAL ON
)
include_directories
(
${
CMAKE_CURRENT_BINARY_DIR
}
/../partest/include
)
include_directories
(
${
CMAKE_CURRENT_BINARY_DIR
}
/../partest/include
)
add_executable
(
embb_mtapi_opencl_c_test
${
EMBB_MTAPI_OPENCL_TEST_SOURCES
}
)
add_executable
(
embb_mtapi_opencl_c_test
${
EMBB_MTAPI_OPENCL_TEST_SOURCES
}
)
target_link_libraries
(
embb_mtapi_opencl_c_test embb_mtapi_opencl_c embb_mtapi_c partest embb_base_c
${
compiler_libs
}
${
EMBB_M
API_OPENCL
_LIBS
}
)
target_link_libraries
(
embb_mtapi_opencl_c_test embb_mtapi_opencl_c embb_mtapi_c partest embb_base_c
${
compiler_libs
}
${
EMBB_M
TAPI_OPENCL_C
_LIBS
}
)
CopyBin
(
BIN embb_mtapi_opencl_c_test DEST
${
local_install_dir
}
)
CopyBin
(
BIN embb_mtapi_opencl_c_test DEST
${
local_install_dir
}
)
endif
()
endif
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment