cmake: fix Windows build with CUnit
failmalloc and main tests succesfully pass the test now.
This commit is contained in:
parent
d10f149161
commit
bd253e1bdd
|
@ -41,6 +41,7 @@ if(HAVE_CUNIT)
|
||||||
VERSION ${LT_VERSION} SOVERSION ${LT_SOVERSION}
|
VERSION ${LT_VERSION} SOVERSION ${LT_SOVERSION}
|
||||||
ARCHIVE_OUTPUT_NAME nghttp2
|
ARCHIVE_OUTPUT_NAME nghttp2
|
||||||
)
|
)
|
||||||
|
target_compile_definitions(nghttp2_static PUBLIC "-DNGHTTP2_STATICLIB")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install(TARGETS nghttp2
|
install(TARGETS nghttp2
|
||||||
|
|
|
@ -22,6 +22,9 @@
|
||||||
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include <config.h>
|
||||||
|
#endif /* HAVE_CONFIG_H */
|
||||||
#include "nghttp2_npn_test.h"
|
#include "nghttp2_npn_test.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
Loading…
Reference in New Issue