annotate test/suite/CMakeLists.txt @ 356:2f64957d6a46

- fix to dynload to build with musl libc (latter has dlinfo but not RTLD_SELF, so fallback to dl_iterate_phdr if on ELF targets)
author Tassilo Philipp
date Tue, 25 Feb 2020 16:07:45 +0100
parents 3e629dc19168
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1 add_executable(suite main.c case.c)
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2 if(WIN32)
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 else()
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 list(APPEND AUX_LIBS m)
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 endif()
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 target_link_libraries(suite dyncall_s ${AUX_LIBS})
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8