Skip to content

Commit a6e5679

Browse files
authored
Incorrect filename on .so files
Change libcpptcl_ to cpptcl_ as the C++ generation will add the lib to the filename of the shared library.
1 parent 5ed9e59 commit a6e5679

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

examples/CMakeLists.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ target_link_libraries(example2 PUBLIC cpptcl_static cpptcl_runtime ${TCL_STUB_LI
66
add_executable(example6 example6.cc)
77
target_link_libraries(example6 PUBLIC cpptcl_static cpptcl_runtime ${TCL_STUB_LIBRARY} ${TCL_LIBRARY})
88

9-
add_library(libcpptcl_module_two SHARED cpptcl_module_two.cc)
10-
target_link_libraries(libcpptcl_module_two PUBLIC cpptcl_static ${TCL_STUB_LIBRARY})
9+
add_library(cpptcl_module_two SHARED cpptcl_module_two.cc)
10+
target_link_libraries(cpptcl_module_two PUBLIC cpptcl_static ${TCL_STUB_LIBRARY})
1111

12-
add_library(libcpptcl_module_three SHARED cpptcl_module_three.cc)
13-
target_link_libraries(libcpptcl_module_three PUBLIC cpptcl_static ${TCL_STUB_LIBRARY})
12+
add_library(cpptcl_module_three SHARED cpptcl_module_three.cc)
13+
target_link_libraries(cpptcl_module_three PUBLIC cpptcl_static ${TCL_STUB_LIBRARY})
1414

15-
add_library(libcpptcl_module_five SHARED cpptcl_module_five.cc)
16-
target_link_libraries(libcpptcl_module_five PUBLIC cpptcl_static ${TCL_STUB_LIBRARY})
15+
add_library(cpptcl_module_five SHARED cpptcl_module_five.cc)
16+
target_link_libraries(cpptcl_module_five PUBLIC cpptcl_static ${TCL_STUB_LIBRARY})
1717

18-
add_library(libcpptcl_module_six SHARED cpptcl_module_six.cc)
19-
target_link_libraries(libcpptcl_module_six PUBLIC cpptcl_static ${TCL_STUB_LIBRARY})
18+
add_library(cpptcl_module_six SHARED cpptcl_module_six.cc)
19+
target_link_libraries(cpptcl_module_six PUBLIC cpptcl_static ${TCL_STUB_LIBRARY})
2020

2121
# Create a packaged TCL extension
2222
add_library(cpptcl_example_functions SHARED cpptcl_example_functions.cc)

0 commit comments

Comments
 (0)